package com.hxkj.dao;


import com.hxkj.domain.po.CommonPayment;

import java.util.List;

/**
* 数据操作接口
*
* @author: yangjianguo
* @version: 1.0
* @datetime: 2019-01-15 14:30:54
*
*/
public interface CommonPaymentDao {

    /**
    *
    * 根据主键查询CommonPayment对象
    *
    * @param id
    * @return CommonPayment对象
    */
    CommonPayment get(String id);

    /**
    *
    * 根据查询条件查询符合条件的CommonPayment对象
    *
    * @param commonPayment
    * @return 符合条件的CommonPayment对象List
    */
    List<CommonPayment> get(CommonPayment commonPayment);

    /**
    *
    * 根据主键删除CommonPayment对象
    *
    * @param id
    * @return 影响条件数
    */
    int delete(String id);

    /**
    *
    * 插入CommonPayment对象
    *
    * @param commonPayment
    * @return 影响条件数
    */
    int save(CommonPayment commonPayment);

    /**
    *
    * 更新CommonPayment对象
    *
    * @param commonPayment
    * @return 影响条件数
    */
    int update(CommonPayment commonPayment);

}
